package com.ftg.learn.mapper;

import com.ftg.learn.entity.SysLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * 处理
 *
 * @author kangjx
 * @version 1.0
 * @date 2023/3/31 下午2:33
 */
@Mapper
public interface SysLogMapper {

    @Insert("insert into sys_log (ipaddress,macaddress,methodname,`desc`) " +
            "values(#{ipaddress},#{macaddress},#{methodname},#{desc})")
    public int saveSysLog(SysLog sysLog);

}
